package model;

/**
 * Created by wrh on 17-8-14.
 * 基础块类，用于被继承
 *
 */

public class Block {


    //文档图像id
    private int docImgID;

    private MyRect rect;

    //构造对象必须指定文档图片id
    public Block(int docImgID) {this.docImgID=docImgID;}

    public Block(int docImgID, MyRect rect) {
        this.docImgID = docImgID;
        this.rect = rect;
    }


    public int getDocImgID() {return docImgID;}

    public void setDocImgID(int docImgID) {
        this.docImgID = docImgID;
    }

    public MyRect getRect() {
        return rect;
    }

    public void setRect(MyRect rect) {
        this.rect = rect;
    }
}
